<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="workDays.title" />
    </title>
    <meta name="heading" content="<fmt:message key='workDays.heading'/>" />
</head>

<form:form action="listWorkDays.html">
searchDate<input type="text" name="searchDate" value="${searchDate}"/>
<input type="submit" id="" value="submit"/>
</form:form>

<form:form id="workDays" name="workDays" action="addWorkDays.html">
<c:forEach items="${weekL}" var="days">
    <c:choose>
        <c:when test="${days.isWeekend == 1}">
            <input type="checkbox" name="workDay" value="<fmt:formatDate value="${days.workDay}" pattern="yyyy-M-d"/>"/><font color=#ff0000><b><fmt:formatDate value="${days.workDay}" pattern="yyyy-M-d"/></b></font><br>
        </c:when>
        <c:otherwise>
            <input type="checkbox" checked="checked" name="workDay" value="<fmt:formatDate value="${days.workDay}" pattern="yyyy-M-d"/>"/><fmt:formatDate value="${days.workDay}" pattern="yyyy-M-d"/><br>
        </c:otherwise>
    </c:choose>
</c:forEach>
<input type="submit" id="" value="submit"/>
</form:form>